import request from '@/utils/request'

// 查询类别统计列表
export function listReportCate() {
    return request({
      url: "/gsOrderItem/countByCategory",
      method: "get",/* 
      params: query, */
    });
  }

// 查询各商品销售情况列表
export function listReportClothesByPage(query) {
    return request({
      url: "/gsOrderItem/countByName",
      method: "get",
      params: query,
    });
  }

// 获得饼状图数据
export function getCountByCategoryPieData() {
    return request({
      url: '/gsOrderItem/echCategory',
      method: 'get'
    })
  }

export function getCountByclNamePieData() {
    return request({
      url: '/gsOrderItem/echName',
      method: 'get'
    })
  }


